/* 商品详情页面的css文件 */
.tabs-container {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 100;
}

.content {
  padding: 16px;
}

.content h2 {
  margin: 0;
  padding: 16px 0;
  font-size: 18px;
  font-weight: bold;
}

.loading, .no-data {
  text-align: center;
  padding: 50px 0;
  color: #999;
}

/* 商品信息样式 */
.goods-swiper {
  margin-bottom: 16px;
}

.goods-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.goods-basic-info {
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
}

.goods-title {
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 12px 0;
  color: #333;
}

.goods-price {
  margin-bottom: 12px;
}

.price-current {
  font-size: 24px;
  color: #ff4141;
  font-weight: bold;
  margin-right: 8px;
}

.price-original {
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
}

.goods-tags {
  margin-bottom: 16px;
}

.goods-specifications {
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
}

.spec-item {
  display: flex;
  margin-bottom: 8px;
}

.spec-label {
  width: 60px;
  color: #666;
}

.spec-value {
  flex: 1;
  color: #333;
}

.goods-actions {
  padding: 16px 0;
}

/* 商品详情样式 */
.goods-details h2,
.goods-details h3 {
  margin: 24px 0 12px 0;
  font-size: 18px;
  font-weight: bold;
}

.goods-details p {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
}

.specifications-list {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 12px;
}

.spec-row {
  display: flex;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.spec-row:last-child {
  border-bottom: none;
}

.detail-image {
  width: 100%;
  margin: 10px 0;
  border-radius: 8px;
}

/* 评价样式 */
.reviews-summary {
  padding: 16px;
  background: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 16px;
}

.rating-score {
  text-align: center;
}

.score {
  font-size: 36px;
  font-weight: bold;
  color: #ff4141;
}

.review-count {
  display: block;
  margin-top: 8px;
  color: #666;
  font-size: 14px;
}

.no-reviews {
  text-align: center;
  padding: 30px;
  color: #999;
}

.review-item {
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
}

.review-item:last-child {
  border-bottom: none;
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 12px;
}

.user-info {
  flex: 1;
}

.username {
  font-size: 14px;
  color: #333;
  margin-bottom: 4px;
}

.review-date {
  font-size: 12px;
  color: #999;
}

.review-content {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 12px;
}

.review-images {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.review-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
}